package com.example.pcl.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
@Schema(name = "预约状态")
public class AppointmentStatusDTO {
    @NotNull(message = "预约id不能为空")
    @Schema(description = "预约id")
    private Integer appointmentId;
    @NotNull(message = "状态不能为空")
    @Max(value = 3, message = "状态码不对")
    @Min(value = 0, message = "状态码不对")
    @Schema(description = "状态码")
    private Integer status;
    @Schema(description = "状态描述")
    private String statusDescription;
}
